import request from '@/libs/request'

export const api ={
	/*create_time: new Date().Format("yyyy-MM-dd hh:mm:ss"),*/
	//userOauth:function(data) {return request({url: '/api/Index/userOauth',method: 'POST',data});}//编辑文章
	u8ProductList:function(data) {return request({url: '/api/Product/u8DataList',method: 'POST',data});},//编辑文章
	submitReGoods:function(data) {return request({url: '/api/Product/submitReGoods',method: 'POST',data});},//提交要货申请
	
	rules: {
		'formData.name': {
			type: 'string',
			required: true,
			message: '请填写姓名',
			trigger: ['blur', 'change']
		},
		'formData.sex': {
			type: 'string',
			max: 1,
			required: true,
			message: '请选择男或女',
			trigger: ['blur', 'change']
		},
	}
	
}

